﻿@model PointLogEntity
@{
	var PointName = ConfigHelper.Get<UserConfig>().PointName;
}
<div class="layui-colla-item">
	<h2 class="layui-colla-title layui-elem-quote">@{@PointName}记录详情</h2>
	<div class="layui-colla-content layui-form layui-show" wid100>
		<div class="layui-form-item">
			<label class="layui-form-label">消费时间</label>
			<div class="layui-input-block">
				@{
					if (Model.LogTime.HasValue)
					{
						<div class="layui-input-inline layui-input-company">
							@Model.LogTime.Value.ToString("yyyy-MM-dd HH:mm:ss")
						</div>
					}
				}
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">用户名</label>
			<div class="layui-input-block">
				<div class="layui-input-inline layui-input-company">
					@Model.UserName
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">点数</label>
			<div class="layui-input-block">
				<div class="layui-input-inline layui-input-company">
					@Model.Point.Value.ToString()
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">类型</label>
			<div class="layui-input-block">
				@{
					if (Model.IncomePayOut == 1)
					{
						<div class="layui-input-inline layui-input-company">收入</div>
					}
					else
					{
						<div class="layui-input-inline layui-input-company">支出</div>
					}
				}
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">重复次数</label>
			<div class="layui-input-block">
				<div class="layui-input-inline layui-input-company">
					@Model.Times
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">IP地址</label>
			<div class="layui-input-block">
				<div class="layui-input-inline layui-input-company">
					@Model.IP
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">录入者</label>
			<div class="layui-input-block">
				<div class="layui-input-inline layui-input-company">
					@Model.Inputer
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">备注</label>
			<div class="layui-input-block">
				<div class="layui-input-inline layui-input-company">
					@Model.Remark
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">内部记录</label>
			<div class="layui-input-block">
				<div class="layui-input-inline layui-input-company">@Model.Memo</div>
			</div>
		</div>
	</div>
</div>
@Html.AntiForgeryToken()